package com.gupao.javavip.spring.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "service")
@Component
public class MyServiceConfiguration {
    private String serviceName;
    private String serviceVersion;
    private String servicePort;
}
